<div style="widtd : 960px;background: url(JO_images/hr.gif1) repeat-x top left #222;position: relative;float:left;

             ">
  <div  class="bar_720i" style="margin-left: 0px;width :960px" >
    <div style="" class="JO_h1i"> Thống Kê Tin Nhắn </div>
    <div class="mar8i"></div>
    <div style="width : 924px;float: left;margin-bottom: 8px;">
      <div>
        <?php
if(!isset($_SESSION[ "JO_account_id" 			])){
	echo ("login");
}else{
$patd ="C:/xampp/htdocs/00_JO/JOi/";
 include ($patd .'controller/JO_sms_Controller.php'); 



 /*$today=getdate();
 echo "<pre>";
 print_r($today);
 echo $today['year']."-".$today['mon']."-".$today['mday'];
 echo "</pre>";
 exit;*/
     ?>
        <link rel="stylesheet"		type="text/css"		href="JO_jquery/themes/ui-darkness/jquery-ui-1.8.16.custom.css"/>
        <script type="text/javascript" src="JO_jquery/ui/jquery-ui-1.8.9.custom.js"></script> 
        <script >
    
	
function show()
{
	var tab=$('#sl_table').val();
	var im=$('#f_import').val();
	
	if(tab !="" && im !="")
	{
		
		var url="JO_015_01_Import_excel.php?SO_tab="+tab+"&SO_im="+im;	
		$('#loadImport').html("<div style=\"height: 45px;text-align: center;width:100%;background: url(JO_ICON/jquery.ajaxLoader.gif) center no-repeat\"></div>");
		$('#loadImport').load(url);
	}
	else
	{
		if(tab==''){
		alert('phải chọn bảng cần import');}
		if(im==''){
		alert('phải chọn file cần import');}
	}
	
	
	
		
	
}

	</script> 
      </div>
      <!--tong hop-->
      <style>
        .JO_middle td{
			vertical-align:middle;
			}
        </style>
      <table class="tbi JO_middle" style="width:944px;">
        <tr style="vertical-align:middle">
          <th> <select id="sl_table" name="sl_table"  class="input_selecti" style="width:154px">
              <option style="background:#333;border:none;color:#FFF" value="">--Chọn Bảng Import--</option>
              <option style="background:#333;border:none;color:#FFF" value="artist">Artist</option>
              <option style="background:#333;border:none;color:#FFF" value="album">Album</option>
              <option style="background:#333;border:none;color:#FFF" value="music">Music</option>
              <option style="background:#333;border:none;color:#FFF" value="rbt">Rbt</option>
            </select>
          </th>
          <th width="150px"> Chọn File Excel Import : </th>
          <th> <input type="file" name="f_import" id="f_import" class="input_texti"/>
          </th>
          <th><input type="button" value="Import" class="input_buttoni" onclick="show();"/></th>
        </tr>
      </table>
      <span id="loadImport"> 
      
      </span> 
      
      <!-- chi tiet--> 
      <span id="loadcontent">
      <div style="height:50px;text-align:center;margin-top:20px;font-size:15px"> </div>
      </span> 
      <script>
	$(document).ready(function() { 
        $("#TKF").datepicker({ dateFormat: 'yy-mm-dd' }); 
    }); 
	$(document).ready(function() { 
        $("#TKT").datepicker({ dateFormat: 'yy-mm-dd' }); 
    }); 
</script>
      <?
}
?>
    </div>
  </div>
</div>
<script>
setwidth();
function setwidth(){
	$("#slpro").width(80);
}
</script>